package com.example.mvvmkotlin.inter

import android.os.Bundle
import com.example.mvvmkotlin.BR
import com.example.mvvmkotlin.R
import com.example.mvvmkotlin.databinding.ActivityInterBinding
import com.fangmu.basemodule.BaseActivity

class InterActivity : BaseActivity<ActivityInterBinding, InterViewModel>() {
    override fun initVariableId(): Int {
        return BR.inter
    }

    override fun initContentView(savedInstanceState: Bundle?): Int {
        return R.layout.activity_inter
    }

    override fun initParam() {
        viewModel!!.local.observe(this) {
            binding!!.tvShow.text = it.toString()
        }
    }

}